﻿@model mvcForum.Web.ViewModels.TopicViewModel
@using mvcForum.Web.Helpers;
<!-- Views/Forum/LastMessagePartial.cshtml -->
<span><dfn>@ForumHelper.GetHtmlString("LastPost.LastPost") </dfn>@if (Model.LastPosted.HasValue) {
@ForumHelper.GetHtmlString("LastPost.By", new object[] { Model.LastUsername, Model.LastPosted.Value.ToLocalDateTime() })
} else {
@ForumHelper.GetHtmlString("LastPost.NoPost")
}
</span>
